$(document).ready(function(){
    $(".cercle_").live('click',function(){
        var id=$(this).attr("id");
        $("#info_"+id).dialog("open");
        //play();
        return false;
    });
    
    $("#info_cercle_client").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 200,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_cercle_chef_de_produit").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 290,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_cercle_expert").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 150,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_cercle_scrum_master").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 290,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_cercle_equipe_de_dev").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 480,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    /*
     * 
     * 
     * 
     * 
     * 
     */
    
    $("#info_recettage_livraison").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 200,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_besoin_exigences").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 200,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_phase_charte").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 200,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_proposition_decoupage").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 500,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_problemes_metiers").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 200,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_phase_produit").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 200,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_validation").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 300,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_problemes_techniques").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 500,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_sprint").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 500,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_animation").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 500,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });
    
    $("#info_avancement_problemes").dialog({
        show: 'scale',
        hide: 'scale',
        autoOpen: false,
        width: 640,
        height: 400,
        modal: true,
        buttons: {
            'Fermer':function(){
                $(this).dialog('close');
            }
        }
    });

});